package org.demo.szml.userservice.config;

import cn.hutool.core.lang.Snowflake;
import cn.hutool.core.util.IdUtil;
import org.springframework.context.annotation.Configuration;

/**
 * @description: 雪花算法配置类
 * @date: 2025/6/20 10:42
 * @version: 1.0
 */
@Configuration
public class SnowflakeIdConfiguration {

    public final Snowflake snowflake = IdUtil.getSnowflake(1,1);

}
